package com.huiyun.project.im.server.biz.controller.sv;


import com.huiyun.project.base.controller.BaseController;
import com.huiyun.project.common.core.domain.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * IM会话 前端控制器
 * </p>
 *
 * @author bogon
 * @since 2020-08-01
 */
@RestController
@RequestMapping("/im/session")
public class ImSessionController extends BaseController {

    /**
     * @param fromUserId
     * @param toUserId
     * @return
     */
    @RequestMapping("/create")
    public R create(@RequestParam String fromUserId, @RequestParam String toUserId) {

        return R.ok();
    }
}
